Page({
  data:{
    condition:false,
    fei:300,
    feiban:150,
  },
  switchchange(e){
      console.log(e)
      this.setData({
        condition:e.detail.value
      })
  },
  formsubmit(e){
    console.log(e)
    let fei=300
    let feiban= 150
    let bd= Number(e.detail.value.property)
    if(bd>200000){
      fei =bd*0.005-700
    }else{
      fei =300
    }
    feiban=fei/2
    fei =fei.toFixed(2)
    feiban=feiban.toFixed(2)

    this.setData({
      fei,feiban
    })
  }
})